//
//  StatisticsUtil.h
//  Ugo
//
//  Created by Chongqing 642 on 12-12-26.
//  Copyright (c) 2012年 Ugo!642. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol StatisticsUtilDelegate <NSObject>
@optional


@end

@interface StatisticsUtil : NSObject

@property (nonatomic, strong)id<StatisticsUtilDelegate> delegate;

//统计功能的初始化
+ (void)start;
//指定页面名称开始统计
+ (void)beginLogPage:(NSString *)pagename;
//指定页面名称结束统计
+ (void)endLogPage:(NSString *)pagename;
//指定eventid的事件统计
+ (void)logEvent:(NSString *)eventId;
//手动检测更新
+ (void)checkUpdateManualWithDelegate:(id)delegate andSelector:(SEL)selector;
@end
